package com.xjrh.traintravel.collector.netty.command.fault;

/**
 * 前置异常
 *
 * @author snps
 * @create 2022-04-20 8:47
 * @describe
 **/
public class FrontFault extends CommonFault {

    private static final long serialVersionUID = 7569447547633423705L;


    /**
     * 主机异常状态
     */
    private String equipmentError;

    /**
     * DSP异常信息
     */
    private String dspError;

    /**
     * 前置1异常
     */
    private String front1Error;

    /**
     * 前置1类型 / COM1-1型
     */
    private String front1Type;

    /**
     * 前置1传感器状态
     */
    private String front1Sensor;

    /**
     * 前置2异常
     */
    private String front2Error;

    /**
     * 前置2类型 / COM1-2型
     */
    private String front2Type;

    /**
     * 前置2传感器状态
     */
    private String front2Sensor;

    /**
     * 前置3异常
     */
    private String front3Error;

    /**
     * 前置3类型 / COM2-1型
     */
    private String front3Type;

    /**
     * 前置3传感器状态
     */
    private String front3Sensor;

    /**
     * 前置4异常
     */
    private String front4Error;

    /**
     * 前置4类型 / COM2-2型
     */
    private String front4Type;

    /**
     * 前置4传感器状态
     */
    private String front4Sensor;


    /**
     * Getter and Setter
     */
    public String getEquipmentError() {
        return equipmentError;
    }

    public void setEquipmentError(String equipmentError) {
        this.equipmentError = equipmentError;
    }

    public String getDspError() {
        return dspError;
    }

    public void setDspError(String dspError) {
        this.dspError = dspError;
    }

    public String getFront1Error() {
        return front1Error;
    }

    public void setFront1Error(String front1Error) {
        this.front1Error = front1Error;
    }

    public String getFront1Type() {
        return front1Type;
    }

    public void setFront1Type(String front1Type) {
        this.front1Type = front1Type;
    }

    public String getFront1Sensor() {
        return front1Sensor;
    }

    public void setFront1Sensor(String front1Sensor) {
        this.front1Sensor = front1Sensor;
    }

    public String getFront2Error() {
        return front2Error;
    }

    public void setFront2Error(String front2Error) {
        this.front2Error = front2Error;
    }

    public String getFront2Type() {
        return front2Type;
    }

    public void setFront2Type(String front2Type) {
        this.front2Type = front2Type;
    }

    public String getFront2Sensor() {
        return front2Sensor;
    }

    public void setFront2Sensor(String front2Sensor) {
        this.front2Sensor = front2Sensor;
    }

    public String getFront3Error() {
        return front3Error;
    }

    public void setFront3Error(String front3Error) {
        this.front3Error = front3Error;
    }

    public String getFront3Type() {
        return front3Type;
    }

    public void setFront3Type(String front3Type) {
        this.front3Type = front3Type;
    }

    public String getFront3Sensor() {
        return front3Sensor;
    }

    public void setFront3Sensor(String front3Sensor) {
        this.front3Sensor = front3Sensor;
    }

    public String getFront4Error() {
        return front4Error;
    }

    public void setFront4Error(String front4Error) {
        this.front4Error = front4Error;
    }

    public String getFront4Type() {
        return front4Type;
    }

    public void setFront4Type(String front4Type) {
        this.front4Type = front4Type;
    }

    public String getFront4Sensor() {
        return front4Sensor;
    }

    public void setFront4Sensor(String front4Sensor) {
        this.front4Sensor = front4Sensor;
    }


    @Override
    public String toString() {
        return "FrontFault{" +
                "equipmentError='" + equipmentError + '\'' +
                ", dspError='" + dspError + '\'' +
                ", front1Error='" + front1Error + '\'' +
                ", front1Type='" + front1Type + '\'' +
                ", front1Sensor='" + front1Sensor + '\'' +
                ", front2Error='" + front2Error + '\'' +
                ", front2Type='" + front2Type + '\'' +
                ", front2Sensor='" + front2Sensor + '\'' +
                ", front3Error='" + front3Error + '\'' +
                ", front3Type='" + front3Type + '\'' +
                ", front3Sensor='" + front3Sensor + '\'' +
                ", front4Error='" + front4Error + '\'' +
                ", front4Type='" + front4Type + '\'' +
                ", front4Sensor='" + front4Sensor + '\'' +
                '}';
    }

}